Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added mobile touch event Interaction for Images #286

Merged
merged 6 commits into from
Nov 21, 2023

Conversation

JarvisArt
Copy link
Contributor

图片预览移动端添加手势移动与缩放功能
close ant-design/ant-design#44529

Copy link

vercel bot commented Nov 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
image ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 2, 2023 3:12pm

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #286 (d343751) into master (cd92f7d) will increase coverage by 0.30%.
The diff coverage is 100.00%.

❗ Current head d343751 differs from pull request most recent head 2e331a1. Consider uploading reports for the commit 2e331a1 to get more accurate results

@@            Coverage Diff             @@
##           master     #286      +/-   ##
==========================================
+ Coverage   97.91%   98.21%   +0.30%     
==========================================
  Files          13       15       +2     
  Lines         383      449      +66     
  Branches      107      123      +16     
==========================================
+ Hits          375      441      +66     
  Misses          7        7              
  Partials        1        1              
Files Coverage Δ
src/Operations.tsx 96.77% <ø> (ø)
src/Preview.tsx 100.00% <100.00%> (ø)
src/hooks/useImageTransform.ts 97.95% <100.00%> (-0.05%) ⬇️
src/hooks/useMouseEvent.ts 100.00% <100.00%> (ø)
src/hooks/useTouchEvent.ts 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zombieJ zombieJ merged commit 46b1e7c into react-component:master Nov 21, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image 组件的在手机端预览时能否添加手势的放大缩小
2 participants